//
//  PAPersonalViewController.h
//  PAMobileWallet
//
//  Created by shen pu on 13-7-14.
//  Copyright (c) 2013年 Say_smp002. All rights reserved.
//

#import "PABaseViewController.h"
#import "PAHomePageViewController.h"
#import "PABankCardView.h"
#import "PANetworkManager.h"
#import "PAStateType.h"

typedef enum {
    HOME_TYPE_Page,
    HOME_TYPE_Set,
}HOME_TYPE;

@class PAPersonalCenterView;
@class PASetHomeView;

@class PAAddCardViewController;
@class PAChargeMoneyViewController;
@class PAWithdrawalsViewController;
@class PARemitMoneyViewController;
@class PAHeadPicViewController;

@interface PAPersonalViewController : PABaseViewController<UIScrollViewDelegate,UIGestureRecognizerDelegate,PABankCardViewDelegate, PANetworkDelegate,UIImagePickerControllerDelegate,UIActionSheetDelegate,UINavigationControllerDelegate,UIPageViewControllerDelegate,UIPageViewControllerDataSource>
{
    PAPersonalCenterView            *personalCenterView;
    PASetHomeView                   *setHomeView;
    
    PAAddCardViewController         *addCardController;
    PAChargeMoneyViewController     *chargeMoneyController;
    PAWithdrawalsViewController     *withdrawalsController;
    PARemitMoneyViewController      *remitMoneyController;
    PAHeadPicViewController         *headPicController;
    
    PAHomePageViewController * homePageViewController;
    
    PADataCenter * dataCenterT;
    PAStateType * stateType;
    
    UIScrollView * cardScrollView;   //滑动card的scrollView
    UIPageControl * pageControl;
    
    NSMutableArray * bankCardViews;   //卡的数目数组
}
@property (nonatomic, strong)NSMutableArray * bankCardViews;

@property(nonatomic,strong)UIImage * photoImage;

- (void)showSecleteView:(HOME_TYPE)type;
- (void)sendMessage:(NSInteger)sender;
- (void)checkUpOrDown:(NSString *)getStr;
- (void)addCard:(NSDictionary *)cardInfoDic;
- (NSArray *)checkCardInfo:(id)sender;

- (void)loginAction:(NSDictionary *)dic;

- (void)gotoAnotherController:(int)sender sendCardArray:(NSArray *)getCardArray lastCardArray:(NSString *)lastArray;

@end
